package cn.saddyfire.pattern.builder.demo1;

/**
 * @author Dee
 * @date 2024/1/23
 * <p>Description:具体构建者, 用来构建摩拜单车对象
 */
public class MobileBuilder extends Builder{
    @Override
    public void buildFrame() {
        bike.setFrame("碳钎维车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
